package com.niiwoo.civet.mobile.vo.request.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Pattern;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 校验是否需要登录验证码请求
 */
@Getter
@Setter
@ApiModel
public class LoginSMSStatusRequestVO {

    @NotBlank(message = "登录名不能为空")
    @Pattern(regexp = "^1[3456789][0-9]{9}$", message = "登录手机号码错误")
    @ApiModelProperty(value = "登录名", notes = "手机号", required = true)
    private String loginMobileNo;

}
